<?php

class Form_Login extends Zend_Form
{
	public function init()
	{
		
		$this->setAction('auth');
		$this->setMethod('post');
		$this->setDescription("Login");
		$this->setAttrib('sitename', 'Foodies');
		 
		$this->addElement('text', 'username');
		$usernameElement = $this->getElement('username');
		$usernameElement->setLabel('Username:');
		 
		 
		$this->addElement('password', 'password');
		$passwordElement = $this->getElement('password');
		$passwordElement->setLabel('Password:');
		
		$this->addElement('submit', 'submit');
		$submitButton = $this->getElement('submit');
		$submitButton->setLabel('Login');
		$submitButton->setAttrib('class', 'button');
		$submitButton->setAttrib('id', 'loginButton');
		
	}
}
?>